const Layout = () => import("@/layout/index.vue");

export default {
  path: "/config",
  name: "Config",
  component: Layout,
  redirect: "/sales/swiper",
  meta: {
    icon: "ep:setting",
    title: "模块设置",
    rank: 600
  },
  children: [
    {
      path: "/config/swiper",
      name: "swiper",
      component: () => import("@/views/config/swiper/index.vue"),
      meta: {
        title: "轮播图"
      }
    },
    {
      path: "/config/today-recommend",
      name: "TodayRecommend",
      component: () => import("@/views/config/today-recommend/index.vue"),
      meta: {
        title: "今日推荐"
      }
    },
    {
      path: "/config/home-recommend",
      name: "HomeRecommend",
      component: () => import("@/views/config/home-recommend/index.vue"),
      meta: {
        title: "首页推荐"
      }
    }
  ]
} satisfies RouteConfigsTable;
